package com.example.service.webhook.business.bank.entity;


import java.math.BigDecimal;
import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class BankBillInstallmentEntity implements Saveable{
       private long id;
       private String userId;
       private String cardId;
       private String billId;
       private String shoppingSheetId;
       private String transTime;
       private String billingDate;
       private String installmentType;
       private Integer totalMonth;
       private Integer currentMonth;
       private String currencyType;
       private BigDecimal amountMoney;
       private BigDecimal serviceFee;
       private BigDecimal transferFee;
       private String installmentDesc;
       private String serviceFeeDesc;
       private String transferFeeDesc;
       private Date createTime;
       private Date lastModifyTime;
    
    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_bankbill_installment";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}



	

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getBillId() {
		return billId;
	}

	public void setBillId(String billId) {
		this.billId = billId;
	}

	public String getShoppingSheetId() {
		return shoppingSheetId;
	}

	public void setShoppingSheetId(String shoppingSheetId) {
		this.shoppingSheetId = shoppingSheetId;
	}

	public String getTransTime() {
		return transTime;
	}

	public void setTransTime(String transTime) {
		this.transTime = transTime;
	}

	public String getBillingDate() {
		return billingDate;
	}

	public void setBillingDate(String billingDate) {
		this.billingDate = billingDate;
	}

	public String getInstallmentType() {
		return installmentType;
	}

	public void setInstallmentType(String installmentType) {
		this.installmentType = installmentType;
	}

	public Integer getTotalMonth() {
		return totalMonth;
	}

	public void setTotalMonth(Integer totalMonth) {
		this.totalMonth = totalMonth;
	}

	public Integer getCurrentMonth() {
		return currentMonth;
	}

	public void setCurrentMonth(Integer currentMonth) {
		this.currentMonth = currentMonth;
	}

	public String getCurrencyType() {
		return currencyType;
	}

	public void setCurrencyType(String currencyType) {
		this.currencyType = currencyType;
	}

	public BigDecimal getAmountMoney() {
		return amountMoney;
	}

	public void setAmountMoney(BigDecimal amountMoney) {
		this.amountMoney = amountMoney;
	}

	public BigDecimal getServiceFee() {
		return serviceFee;
	}

	public void setServiceFee(BigDecimal serviceFee) {
		this.serviceFee = serviceFee;
	}

	public BigDecimal getTransferFee() {
		return transferFee;
	}

	public void setTransferFee(BigDecimal transferFee) {
		this.transferFee = transferFee;
	}

	public String getInstallmentDesc() {
		return installmentDesc;
	}

	public void setInstallmentDesc(String installmentDesc) {
		this.installmentDesc = installmentDesc;
	}

	public String getServiceFeeDesc() {
		return serviceFeeDesc;
	}

	public void setServiceFeeDesc(String serviceFeeDesc) {
		this.serviceFeeDesc = serviceFeeDesc;
	}

	public String getTransferFeeDesc() {
		return transferFeeDesc;
	}

	public void setTransferFeeDesc(String transferFeeDesc) {
		this.transferFeeDesc = transferFeeDesc;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
    
    
   
}
